import API from '@/api'

export function useRequest(apikey, params = {}, config = null): Promise<any> {
  return API[apikey](params, config)
}
